#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() 
{

    int year = 0, month = 0, day = 0;
    scanf("%4d%2d%2d", &year, &month, &day);
    printf("year=%d\nmonth=%02d\ndate=%d\n", year, month, day);
    return 0;
}
